<link rel="stylesheet" href="resource/css/swiper.min.css" />
<script type="text/javascript" src="resource/js/swiper.min.js" ></script>
<link rel="stylesheet" type="text/css" href="resource/css/myslider.css">
<style>
    .footer-home{display: none;}
</style>
<header>
    <a href="javascript:history.back();">
        <i class="iconfont icon-xialalan-copy"></i>
    </a>
    <span>制定旅行</span>
</header>

    <div class="home-slide swiper-container margin_bot">

        <ul class="slider swiper-wrapper">
            <?php if($output['images']){ ?>
                <?php foreach($output['images'] as $key =>$vo){?>
                    <li class="swiper-slide"><img class="en_pic" src="<?php echo $vo['img_path']; ?>" alt="套餐美食"/></li>
                <?php  }?>
            <?php }else{ ?>
                <img src="resource/images/hotel.jpg" />
            <?php  }?>
        </ul>

    </div>
    <div class="contect">
    <div class="scenic_title">
        <h4><?php echo $output['itinerary_info']['ir_title']; ?></h4>
            <span>
                  <i class="icon_2 iconfont icon-renminbi connect"><?php echo $output['itinerary_info']['price']; ?>元</i>起
                  门市价：<i class="off iconfont icon-renminbi"><?php echo $output['itinerary_info']['ir_market_price']; ?></i>
            </span>
    </div>
    <ul class="ul_mar">
        <li class="ul_info" onclick="checkMap('<?php echo $output['itinerary_info']['ir_full_addr']; ?>','<?php echo HOST_URL; ?>')" >
            <i class="icon_1 iconfont icon-weizhi1"></i><?php echo $output['itinerary_info']['ir_full_addr']; ?>
            <a class="fr font_s" <!--href="index.php?act=map&op=index&addr=--><?php /*echo $output['itinerary_info']['ir_full_addr']; */?>" <!--onclick="checkMap('<?php /*echo $output['itinerary_info']['ir_full_addr']; */?>','<?php /*echo HOST_URL; */?>')"-->
                <i class="connect iconfont icon-ditudangqianweizhi"></i>
            </a>
        </li>
      <!--  <li class="ul_info">
            <i class="icon_1 iconfont icon-riqi"></i>可定日期与价格
            <span class="color_f9 font_s ">(需出行前一天可预定)</span>
            <a href="javascript:;" class="fr font_s">
                <i class="rotate iconfont icon-xialalan-copy"></i>
            </a>
        </li>-->
    </ul>
    <div class="tab">
        <ul class="tab_title">
            <li class="on">行程安排</li>
            <li >购买须知</li>
        </ul>
        <div class="tab_content">
            <div class="journey" >
                <?php echo $output['itinerary_info']['ir_detail'];?>
            </div>
            <div class="journey">
                <?php echo $output['itinerary_info']['ir_tips'];?>
            </div>
        </div>
    </div>
</div>
<?php if($output['itinerary_info']['is_purchase']==1): ?>
<div class="buy">
    <a class="hot_line fl">
        <b class="color_red">￥<?php echo $output['itinerary_info']['price']; ?></b>
    </a>
    <?php if($output['itinerary_info']['stock']>0){ ?>
        <a  href="index.php?act=itinerary&op=place_info&irid=<?php echo $output['itinerary_info']['id']; ?>" class="buy_btn fr" >立即购买</a>
    <?php }else{ ?>
        <a class="buy_btn fr" style="background-color:#cccccc">立即购买</a>
    <?php } ?>
</div>
<?php endif; ?>
<script>
    var swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        paginationClickable: true,
        loop: true,
        autoplay: 3000,
        autoplayDisableOnInteraction: false
    });
</script>